<!DOCTYPE html>
<?php
    //Load all php file
    include("loader.php");
    $loader = new Loader();
    $loader->load();
    $t = UserManagement::withPosition("sinh viên");
    
    //Create a connection to mysql database and send a test query
    $db = Database::getInstance();
    $result = $db->query("SELECT * FROM Users");
    echo "<pre>";
    echo "Num of row: ";
    print_r($result->dataTable->numOfRow);
    echo "\n";
    print_r($result);
    echo "\n";
    print_r($t->users);
    echo "</pre>";
?>